@extends('layout.front')
@section('title','名家展示')
@section('head')
    <div class="nav">
        <ul class="nav_body">
            <li><a href="/">首页</a></li>
            <li><a href="/master-lecture">名家讲堂</a></li>
            <li><a class="current" href="/master">名家风采</a></li>
            <li><a href="/video">往期视频</a></li>
        </ul>
    </div>
@endsection
@section('content')

    <div class="main">
        <div class="export_info">
            <div class="export_this">
                <div class="title_box">本期嘉宾</div>
                <div class="export_this_body clearfix">
                    <div class="left_export"><img src="{{$master->img}}" /></div>
                    <div class="right_export">
                        <div class="export_base">
                            <p class="name">{{$master->name}}</p>
                            <p><b>科室：</b>{{$master->keshi}}</p>
                            <p><b>职称：</b>{{$master->zhicheng}}</p>
                        </div>
                        <div class="export_this_intro">
                            <p><p><span style="color: rgb(85, 85, 85); font-family: 微软雅黑; background-color: rgb(255, 255, 255);">{{$master->show}}</span></p></p>
                            <div class="export_edu clearfix">
                                <div class="edu_title">接受教育：</div>
                                <div class="edu_info">
                                    <p><p> </p></p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            @if(isset($master->comment[0]))
                <div class="this_intro">
                    <div class="title_box">本期简介</div>
                    <div class="this_intro_body">
                        <p class="te_2">{{$master->comment[0]->show}}</p>
                    </div>
                </div>
                <div class="other_export">
                    <div class="title_box">其他专家</div>
                    @foreach($master->comment[0]->comment as $v)
                        @if($v->id!=$master->id)
                            <div class="export_list clearfix">
                                <div class="export_ship">
                                    <div class="export_ship_img">
                                        <a href="/master-show/{{$v->id}}"><img src="{{$v->img}}" /></a>
                                    </div>

                                    <div class="export_ship_txt">
                                        <p>专家：{{$v->name}}</p>
                                        <p>职位：{{$v->zhiwu}}</p>
                                        <p>科室：{{$v->keshi}}</p>
                                        <p>医院：{{$v->hospital}}</p>
                                    </div>
                                </div>
                            </div>
                        @endif
                    @endforeach
                </div>
            @endif
        </div>
    </div>
@endsection
